package net.xdclass.service;

import net.xdclass.enums.SendCodeEnum;
import net.xdclass.util.JsonData;

/**
 * 通知服务接口
 *
 * @author JiangZhou
 * @date 2023/4/29 14:59
 */
public interface NotifyService {
    JsonData sendMail(SendCodeEnum sendCodeEnum, String to);

    boolean checkCode(SendCodeEnum userRegister, String mail, String code);
}
